<div class="row toolbar">
	  <div class="col-md-6">
		<span>
		  <table class="table table-striped">
			  <tbody>
				<tr>
				  <td style="width: 200px"><strong>Contact Type</strong></td>
				  <td><%= contact.contact_type.label %></td>
				</tr>
				<tr>
				  <td><strong>Detail address</strong></td>
				  <td><%= contact.address %>, <%= contact.postal_code %></td>
				</tr>
				<tr>
				  <td><strong>Phone</strong></td>
				  <td><%= contact.phone %></td>
				</tr>
				<tr>
				  <td><strong>Fax</strong></td>
				  <td><%= contact.fax %></td>
				</tr>
			  </tbody>
		  </table>
		</span>
	  </div>
	  <div class="col-md-6 text-right">
		<ul class="toolbar-nav">
		  <li><%= link_to simple_icon('note'), 
				if params[:controller] == 'patients' 
					edit_patient_contact_path(:id => contact, :patient_id => params[:id]) 
				else
					edit_staff_contact_path(:id => contact, :staff_id => params[:id]) 
				end
			%></li>
		  <li><%= link_to feather_icon('trash'),(
				if params[:controller] == 'patients' 
					patient_contact_path(:id => contact, :patient_id => params[:id])
				else
					staff_contact_path(:id => contact, :staff_id => params[:id])
				end 
				), method: :delete, data: { confirm: 'Are you sure?' }
			%></li>
		</ul>
	  </div>
</div>  
  